package com.hevs.samplewebapp.client.bean;

import com.google.gwt.core.client.JavaScriptObject;
/**
 * Object to retrieve informations from the JSON for Medical data.
 * @author Lionel Rey
 * @date 26.03.2012
 */
public class MedicalDataJson extends JavaScriptObject{

	
	/**
	 * Constructor of the medical data
	 */
	protected MedicalDataJson() {}

	/**
	 * get the type of the medical data
	 * @return
	 * 	the type of the medical data in int format
	 */
	public final native int getType() /*-{ return this.type; }-*/;
	
	/**
	 * get the value of the medical data
	 * @return
	 * 	the value of the medical data in double format
	 */
	public final native double getValue() /*-{ return this.value; }-*/;
	
	/**
	 * get the date of the medical data
	 * @return
	 * 	the date of the medical data in String format
	 */
	public final native String getDate() /*-{ return this.date; }-*/;
	
	/**
	 * get the category of the medical data
	 * @return
	 *  the category of the medical data in int format
	 */
	public final native int getCategory() /*-{ return this.category; }-*/;
	
	/**
	 * get the key of the medical data
	 * @return
	 *  the key of the medical data in String format
	 */
	public final native String getKey() /*-{ return this.key; }-*/;
}
